//
//  YeeLoginPlatform.h
//  SmallLook
//
//  Created by CoderYee on 2017/2/21.
//  Copyright © 2017年 余伟. All rights reserved.
//

#import <Foundation/Foundation.h>
//这里主要处理登录
//密码登录
//第三方授权登录
//需要处理保存不同账号的信息
typedef void (^YeeSucc)(NSDictionary *userInfo);
typedef void (^YeeFail)(NSError *errInfo);
@interface YeeLoginPlatform : NSObject

+ (instancetype)sharedInstance;
-(void)pwdLogin:(NSString *)identifier andPassword:(NSString *)password succ:(YeeSucc)succ fail:(YeeFail)fail;

-(void)otherlogin:(NSString *)identifier nikename:(NSString *)nikename headerUrl:(NSString *)headerUrl  otherType:(NSString *)type  succ:(YeeSucc)succ fail:(YeeFail)fail;


@end
